Blank Page :(

edited September 2012 in FastReport .NET
hi,
i`m beginner in Fast Report & & have a problem in passing value to report page.
1. i use MS Access.
2. i add a dataset.
3. i add report component.
4. in smart tag of report component, i select dataset.
5. & i use this codes:
            OleDbConnection conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + Environment.CurrentDirectory + "\\db.accdb");
            OleDbDataAdapter da = new OleDbDataAdapter("select * from tbl", conn);
            DataTable dt = new DataTable("tbl");
            conn.Open();
            da.Fill(dt);
            conn.Close();

            report1.Load("Untitled.frx");
            report1.RegisterData(dt,dt.TableName);
            report1.Show();
            report1.Dispose();

i write this code in button click event.

6. in .rfx file, i drag & drop data fields to report page.

but the report is blank when report comes up >

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.